Skip to content

Conversation

@steelONIONknight
Copy link

fix build error on linux aarch64
Using bash ./install.sh --target=linux-aarch64 builds this lib will cause a error. It will download protocolbuffers from https://github.com/protocolbuffers/protobuf/releases/download/v3.1.0/protoc-3.1.0-.zip.

@CLAassistant
Copy link

CLAassistant commented Jan 15, 2022

CLA assistant check
All committers have signed the CLA.

protobuf_version="3.14.0"
protobuf_cmake_options=""
if [[ ${target} =~ linux-aarch64 ]]; then
protobuf_version="3.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when using linux-aarch64 run on android phone, we find that protobuf only 3.1.0 can work, we encounter error when using 3.14.

protobuf_version="3.14.0"
protobuf_cmake_options=""
if [[ ${target} =~ linux-aarch64 ]]; then
protobuf_version="3.1.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when using linux-aarch64 run on android phone, we find that protobuf only 3.1.0 can work, we encounter error when using 3.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants